package com.wisezone.permission.service.impl;

import com.wisezone.common.exception.WzDaoException;
import com.wisezone.common.service.impl.BaseServiceImpl;
import com.wisezone.permission.dao.WzRoleGroupDao;
import com.wisezone.permission.service.WzRoleGroupService;

/**
 * 
 *角色用户组; InnoDB free: 24576 kB
 * 
 * @author create by create date 2010-07-29 14:44:48 update date 2010-07-29
 *         14:44:48
 * 
 */
public class WzRoleGroupServiceImpl extends BaseServiceImpl implements
		WzRoleGroupService {

	/**
	  *
	  *
	  *
	  */
	private WzRoleGroupDao wzRoleGroupDao;

	/**
	 * 删除角色用户组
	 * 
	 * @param id
	 * @throws WzDaoException
	 */
	public void deleteByGroupId(Long id) throws WzDaoException {

		if (id != null) {
			this.wzRoleGroupDao.deleteByGroupId(id);
		}
	}

	public void setWzRoleGroupDao(WzRoleGroupDao wzRoleGroupDao) {
		this.setBaseDao(wzRoleGroupDao);
		this.wzRoleGroupDao = wzRoleGroupDao;
	}

}